<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>营运检验历史查询</title>

    <link rel="stylesheet" href="../../../plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="../../../css/global.css" media="all">
    <link rel="stylesheet" href="../../../plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="../../../css/table.css" />
</head>
<body>
<div class="admin-main">

    <blockquote class="layui-elem-quote">
        <div style="margin: 0px;">
            <form class="layui-form" action="">
                <div class="layui-form-item">
                    <div class="layui-input-inline" style="width: 120px">
                        <select id="search_type" lay-filter="type">
                            <option value="">搜索类别</option>
                            <option value="rgstnum">船检登记号</option>
                            <option value="shipname">船名</option>
                        </select>
                    </div>
                    <div class="layui-input-inline" style="width: 250px">
                        <input type="text" id="search_value" autocomplete="off" placeholder="请输入搜索字段" class="layui-input">
                    </div>
                    <div class="layui-input-inline">
                        <a href="javascript:void(0);" class="layui-btn layui-btn-primary" id="search">搜索</a>
                    </div>
                    <div class="layui-input-inline" style="display: none;">
                        <input type="text" id="s_type" autocomplete="off" class="layui-input">
                        <input type="text" id="s_value" autocomplete="off" class="layui-input">
                    </div>
                    <div class="layui-input-inline" style="float: right;width: auto">
                        <a href="javascript:void(0);" class="layui-btn layui-btn-normal" id="showall" >显示全部</a>
                    </div>
                </div>
            </form>
        </div>
    </blockquote>

    <!--<fieldset class="layui-elem-field">-->
    <!--<legend>管理员</legend>-->
    <blockquote class="layui-elem-quote layui-quote-nm">
        <div class="layui-field-box">
            <table class="site-table table-hover" id="UserAdminTable">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>检验编号</th>
                    <th>船检登记号</th>
                    <th>船名</th>
                    <th>检验类型</th>
                    <th>修理地点</th>
                    <th>验船师</th>
                    <th>船东</th>
                    <th>船厂联系人</th>
                    <th>状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody id="con"></tbody>
                <!--模板-->
                <script type="text/html" id="conTemp">
                    {{# layui.each(d.list, function(index, item){ }}
                    <tr>
                        <td>{{ index+1 }} </td>
                        <td style="text-align: left;">{{ item.rgstnum }}</td>
                        <td style="text-align: left;">{{ item.inspnum }}</td>
                        <td style="text-align: left;">{{ item.shipname }}</td>
                        <td style="text-align: left;">{{ item.insptype }}</td>
                        <td style="text-align: left;">{{ item.inspaddress }}</td>
                        <td style="text-align: left;">{{ item.ycs1name }} {{ item.ycs2name }} {{ item.ycs3name }}</td>
                        <td style="text-align: left;">{{ item.cdname }}</td>
                        <td style="text-align: left;">{{ item.ccinfo }}</td>
                        <td style="text-align: left;">{{ item.state }}</td>
                        <td>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini operamoress" data-id="{{ item.rgstnum }}">申请表</a>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini operaquality" data-id="{{ item.rgstnum }}">质量控制表</a>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini operarecord" data-id="{{ item.rgstnum }}">效用试验记录</a>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini operalog" style="display: none;" data-id="{{ item.rgstnum }}">日志</a>
                            <a href="javascript:;" class="layui-btn layui-btn-normal layui-btn-mini operadoc" data-id="{{ item.rgstnum }}">文档</a>
                        </td>
                    </tr>
                    {{# }); }}
                </script>
            </table>
        </div>
    </blockquote>
    <!--</fieldset>-->

    <div class="admin-table-page">
        <div id="page" class="page" ></div>
    </div>
</div>
<script type="text/javascript" src="../../../plugins/layui/layui.js"></script>
<script type="text/javascript" src="../../../js/contextPath.js"></script>
<script>
    layui.config({
        base: '../../../js/HistoryQuery/OperaInspection/'
    }).use('OperaItemsList');
</script>

</body>
</html>